<!-- 
 - createAnalysis.php
 - v1.0
 - 2/1/2011
 -
 - This source code displays the user interface for creating an analysis.
 -->
<?php
	require 'libraries/UserLibrary.php';
	session_start();
	checkSessionVariable("administrator", "AdministratorHomepage.php", NULL);
?>
<html>
	<head>
		<title>REQUEST FOR ANALYSIS | STATEMENT OF CHARGES</title>
		<script type="text/javascript" src="scripts/validateForm.js"></script>
	</head>
	<body>
		<p align="right">
			Hi, <?php echo $_SESSION["administrator"];?> | <a href="Logout.php">Log-out</a> | <a href="AdministratorHomepage.php"> Home </a>
		</p>
		<hr/>
		<p align="center">
			CENTRAL ANALYTICAL SERVICES LABORATORY<br/>
			<b>National Institute of Molecular Biology and Biotechnology (BIOTECH)<br/></b>
			University of the Philippines Los Banos<br/>
			College, Laguna 4031 Philippines<br/>
			Tel./Fax No. (63-49) 536-0587; 536-2721<br/>
			E-mail: casl.biotech.uplb@gmail.com<br/>
		</p>
		<hr/>
		<form name="analysisRequest" action="ProcessCreateAnalysis.php" method="post" action="report.php" onsubmit="return validateAnalysisRequest();">
			<p align="center">
				<b>REQUEST FOR ANALYSIS | STATEMENT OF CHARGES</b>
			</p>		
			<p align="right">
				<b>FO-2B2-1.3</b>
			</p>		
			<br/>
			<p align="left">
				<b>I. SAMPLE EVALUTION</b>
			</p>		
			<table border="0" align="center" width="100%">
				<tr>
					<td>
						<div><?php if(isset($_GET["error"]))echo "Create Analysis Error"; else echo "";?></div>
						<table>
							<tr>
								<td><b>CASL No.:</b></td>
								<td><input type="text" name="CaslNo" id="caslNo"/></td>
							</tr>
							<tr>
								<td><b>Received by.:</b></td>
								<td><input type="text" name="PreparedBy" id="PreparedBy"/></td>
								<td><div id="errorPreparedBy"></div></td>
							</tr>
						</table>
					</td>
					<td>
						<table>
							<tr><td><div align="center"><b>CLIENT INFORMATION</b></div></td></tr>
							<tr>
								<td>Name:</td>
								<td><input type="text" name = "ClientName" id="ClientName"/></td>
								<td><div id="errorClientName"></div></td>
							</tr>
							<tr>
								<td>Company:</td>
								<td><input type="text" name = "ClientCompany" id="ClientCompany"/></td>
								<td><div id="errorClientCompany"></div></td>
							</tr>
							<tr>
								<td>Address:</td>
								<td><input type="text"  name = "ClientAddress" id="ClientAddress"/></td>
								<td><div id="errorClientAddress"></div></td>
							</tr>
							<tr>
								<td>Telephone / Fax No.:</td>
								<td><input type="text" name = "ClientTelfax" id="ClientTelfax"/></td>
								<td><div id="errorClientTelfax"></div></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			<p align="right">
				<input type="submit" value="I'm Done"/>
			</p>
		</form>
	</body>
</html>